package com.lehuowujie.lehuomarket.photo.bean;

/**
 * Created by 王瑞铭 on 2017/1/11.
 */
public class FolderBean {
    //文件路径
    private String dir;
    private String firstImagPath;
    private String name;
    private int count;

    public String getDir() {
        return dir;
    }

    public void setDir(String dir) {
        this.dir = dir;
        int lastIndexOf = this.dir.lastIndexOf("/");
        this.name = dir.substring(lastIndexOf);
    }

    public String getFirstImagPath() {
        return firstImagPath;
    }

    public void setFirstImagPath(String firstImagPath) {
        this.firstImagPath = firstImagPath;
    }

    public String getName() {
        return name;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}
